#ifndef FACE_BTN_H
#define FACE_BTN_H

#include "SuperBtn.h"
#include "SuperApi.h"

class CFaceBtn :
	public CSuperBtn
{
	Q_OBJECT
public:
	CFaceBtn(CSuperApi* pApi);
	~CFaceBtn(void);

	CSuperApi* GetSuperApi(){return m_pSuperApi;}

protected:
	virtual void paintEvent(QPaintEvent *event);
	virtual void OnMouseEnter();
	virtual void OnMouseLeave();

private:
	QColor m_colorBg;
	QFont m_fontNormal;
	CSuperApi* m_pSuperApi;
	QPixmap m_picIcon;
	QPixmap m_picHeader;
	uint uNomalSize;
	uint uPressSize;
	uint uIconSize;
};

#endif	//FACE_BTN_H
